home *** CD-ROM | disk | FTP | other *** search
/ Aminet 6 / Aminet 6 - June 1995.iso / Aminet / game / wb / dosadv.lha / take < prev    next >
Encoding:
AmigaDOS Script File  |  1993-03-08  |  1.3 KB  |  71 lines

  1. .key item/a
  2. if not "$<item>" eq "$cr"
  3. echo "It is not here to be acquired."
  4. skip end
  5. endif
  6. if "<item>" eq "bookshelf"
  7. echo "You cannot take the <item>."
  8. skip end
  9. endif
  10. if "<item>" eq "moonroot"
  11. if "$sharp" eq "blunt"
  12. echo "You haven't got the correct tool."
  13. skip end
  14. endif
  15. if not "$rock" eq "-1"
  16. echo "You haven't got the correct tool."
  17. skip end
  18. endif
  19. endif
  20. if "<item>" eq "powerplant"
  21. if "$sharp" eq "blunt"
  22. echo "You haven't got the correct tool."
  23. skip end
  24. endif
  25. if not "$rock" eq "-1"
  26. echo "You haven't got the correct tool."
  27. skip end
  28. endif
  29. endif
  30. if "<item>" eq "dreamberry"
  31. if "$sharp" eq "blunt"
  32. echo "You haven't got the correct tool."
  33. skip end
  34. endif
  35. if not "$rock" eq "-1"
  36. echo "You haven't got the correct tool."
  37. skip end
  38. endif
  39. endif
  40. if "<item>" eq "door"
  41. echo "You cannot take the <item>."
  42. skip end
  43. endif
  44. if "<item>" eq "lock"
  45. echo "You cannot take the <item>."
  46. skip end
  47. endif
  48. if "<item>" eq "princess"
  49. echo "You cannot take the <item>."
  50. skip end
  51. endif
  52. if "<item>" eq "guard"
  53. echo "You cannot take the <item>."
  54. skip end
  55. endif
  56. if "<item>" eq "tree"
  57. echo "You cannot take the <item>."
  58. skip end
  59. endif
  60. if "<item>" eq "water"
  61. echo "You cannot take the <item>."
  62. skip end
  63. endif
  64. if "<item>" eq "boulder"
  65. echo "You cannot take the <item>."
  66. skip end
  67. endif
  68. echo "You have now got the <item>."
  69. setenv "<item>" -1
  70. lab end
  71.